package com.mioto.ld.module.knowledge.model;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

import java.util.Date;

/**
 * @author mioto-qinxj
 * @date 2024/5/14
 * @desc
 */
@Getter
@Setter
@ApiModel(value = "知识库分页对象")
public class KnowledgeBasePagerVO{
    @ApiModelProperty(value = "主键id")
    private Integer id;
    @ApiModelProperty(value = "知识标题")
    private String title;
    @ApiModelProperty(value = "知识状态 1-已发布 0-草稿箱")
    private Integer status;
    @ApiModelProperty(value = "产品名称")
    private String productName;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @ApiModelProperty(value = "创建时间")
    private Date createDate;
    @ApiModelProperty(value = "类别名称")
    private String typeName;
    @ApiModelProperty(value = "发布人名称")
    private String createUserName;
}
